package ioc14;

import org.springframework.beans.factory.FactoryBean;

public class SomeBean implements FactoryBean<OtherBean> {
    @Override
    public OtherBean getObject() throws Exception {
        return new OtherBean();
    }

    @Override
    public Class<?> getObjectType() {
        return OtherBean.class;
    }
}
